package com.itheima.listener;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @Auther LCSlove
 * @Date 2021-09-08 23:30
 */
@Component
public class AcceptListener {
    @RabbitListener(queues = {"topic_queue_springboot"})
    public void AcceptListenerMessage(String msg) {
        System.out.println(msg);
    }
}
